<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>作业车辆管理</title>
    <!--引入mui样式-->
    <link rel="stylesheet" href="../mstatic/resource/bootstrap-dist/css/bootstrap.css">
    <link rel="stylesheet" href="../mstatic/resource/bootstrap-dist/css/bootstrap-select.css">
    <link rel="stylesheet" href="../mstatic/resource/bootstrap-dist/css/bootstrapValidator.css">
    <link rel="stylesheet" href="../mstatic/resource/bootstrap-dist/css/bootstrap-table.css">
    <link rel="stylesheet" href="../mstatic/resource/layer/2.4/skin/layer.css">
    <link rel="stylesheet" href="../mstatic/resource/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="../mstatic/css/fileinput.css">
    <link rel="stylesheet" href="../mstatic/css/stockManagement.css">
</head>
<body>
<div class="page-container" style="padding: 10px 20px 20px 20px;">
   <!-- <div class="searchBox">
        <span>搜索查询</span>
        <form class="form-inline" id="stockSearchForm">
            <div class="form-group" style="margin-left: 10px">
                <label>状态:</label>
                <select class="selectpicker"  name="status" id="statusTurn">
                </select>
            </div>
            <div class="form-group" style="margin-left: 10px">
                <label>名称:</label>
                <input type="text" class="form-control" name="vehiclName" id="vehiclName" placeholder="请输入名称" style="width: 125px">
            </div>
            <div class="form-group" style="margin-left: 10px">
                <label>编号:</label>
                <input type="text" class="form-control" id="noTurns" name="no" placeholder="请输入编号" style="width: 100px">
            </div>
            <button  style="margin-left: 10px" class="dis btn btn-primary radius" value="查询" type="button"  id="searchTools">
                查询
            </button>
        </form>
    </div>-->
    <div class="btn-group" id="toobar" role="group" aria-label="...">
        <button type="button" class="btn btn-primary" value="添加" onclick="user.openAddTurn()">
            <span class="glyphicon glyphicon-plus"></span> 添加
        </button>
        <!--<button type="button" class="btn btn-warning" value="修改" onclick="user.openUpdateTurn()">
            <span class="glyphicon glyphicon-edit"></span> 修改
        </button>
        <button type="button" class="btn btn-danger" value="删除" onclick="user.deleteTurn()">
            <span class="glyphicon glyphicon-trash"></span> 删除
        </button>-->
    </div>
    <!--车辆管理表格-->
    <table id="turnOverList" class="table table-border table-bordered table-bg table-hover table-sort responsive" ></table>

    <!--添加车辆管理的窗口-->
    <div id="addUserDialog" class="modal fade" data-backdrop="static" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true" ms-controller="storelocationMage">
        <div class="modal-dialog" role="document" style="height: 410px;width: 500px;">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="changeUser">生成授权码</h4>
                </div>
                <div class="modal-body">
                    <form id="addTurnForm" class="carBox form-horizontal required-validate">
                        <input type="text" name="id" id="id" style="display: none">
                        <div class="form-group" style="margin: 10px 0px 10px 5px;">
                            <label class="col-sm-3 control-label">卡密时间</label>
                            <div class="col-sm-9">
                                <select class="selectpicker form-control" name="unit" onchange="user.changeUnit()" data-live-search="true" id="unit" style="background-color: #fff;">
                                    <option value="1">月卡</option>
                                    <option value="2">周卡</option>
                                    <option value="3">天卡</option>
                                    <option value="4">自定义</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group" id="valDiv" style="margin: 10px 0px 10px 5px;display: none">
                            <label class="col-sm-3 control-label">自定义分钟</label>
                            <div class="col-sm-8">
                                <input type="text" id="validity" name="validity"  value="1"  style="width: 300px" class="form-control" placeholder="自定义分钟">
                            </div>
                        </div>
                        <div class="form-group" style="margin: 10px 0px 10px 5px;">
                            <label class="col-sm-3 control-label">生成数量</label>
                            <div class="col-sm-8">
                                <input type="text" id="tokenSize" name="tokenSize" style="width: 300px" class="form-control" placeholder="生成数量">
                            </div>
                        </div>
                        <div align="center" style="margin: 15px 0px 15px 0px">
                            <button type="button" class="btn btn-info" onclick="user.submitTurnUser()" >提交</button>
                            <button type="button" class="btn btn-info" onclick="user.resetTurnUser($('#changeUser').html())" >重置</button>
                        </div>
                    </form>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->




</div>
<script src="../mstatic/js/jquery/jquery.js"></script>
<script src="../mstatic/resource/bootstrap-dist/js/bootstrap.min.js"></script>
<script src="../mstatic/resource/bootstrap-dist/js/bootstrap-select.js"></script>
<script src="../mstatic/resource/bootstrap-dist/js/bootstrapValidator.js"></script>
<script src="../mstatic/resource/bootstrap-dist/js/bootstrap-table.js"></script>
<script src="../mstatic/resource/bootstrap-dist/js/bootstrap-table-zh-CN.js"></script>
<script src="../mstatic/resource/layer/2.4/layer.js"></script>
<script type="text/javascript" src="../mstatic/resource/layer/laydate/laydate.js"></script>
<script src="../mstatic/resource/fileinput.js"></script>
<script type="text/javascript" src="../mstatic/js/btnLimit.js"></script>
<script src="../mstatic/js/game.js"></script>
</body>
</html>